package cn.iocoder.yudao.module.fengdong.smartelderly.controller.admin.activity.vo;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.*;
import java.util.*;
import java.time.LocalDateTime;
import java.time.LocalDateTime;
import java.time.LocalDateTime;
import java.time.LocalDateTime;
import javax.validation.constraints.*;
import org.springframework.format.annotation.DateTimeFormat;

import static cn.iocoder.yudao.framework.common.util.date.DateUtils.FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND;

/**
 * 活动管理 Base VO，提供给添加、修改、详细的子 VO 使用
 * 如果子 VO 存在差异的字段，请不要添加到这里，影响 Swagger 文档生成
 */
@Data
public class ActivityBaseVO {

    @Schema(description = "标题")
    private String title;

    @Schema(description = "缩略图")
    private String imageUrls;

    @Schema(description = "详情")
    private String detail;

    @Schema(description = "开始时间")
    @DateTimeFormat(pattern = FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND)
    private LocalDateTime startTime;

    @Schema(description = "结束时间")
    @DateTimeFormat(pattern = FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND)
    private LocalDateTime endTime;

    @Schema(description = "预览数量")
    private Long previewNum;

    @Schema(description = "限制人数")
    private Long astrictNum;

    @Schema(description = "参与人数")
    private Long nowNum;

    @Schema(description = "状态", example = "1")
    private Integer type;

    @Schema(description = "种类")
    private Integer kind;

}
